.class Lcom/brixd/niceapp/community/adapter/PortalAdapter$AlbumOnClickListener;
.super Ljava/lang/Object;
.source "PortalAdapter.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/brixd/niceapp/community/adapter/PortalAdapter;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = "AlbumOnClickListener"
.end annotation


# instance fields
.field albumHolderModel:Lcom/brixd/niceapp/model/AlbumHolderModel;

.field final synthetic this$0:Lcom/brixd/niceapp/community/adapter/PortalAdapter;


# direct methods
.method constructor <init>(Lcom/brixd/niceapp/community/adapter/PortalAdapter;Lcom/brixd/niceapp/model/AlbumHolderModel;)V
    .registers 3
    .param p1, "this$0"    # Lcom/brixd/niceapp/community/adapter/PortalAdapter;
    .param p2, "albumHolderModel"    # Lcom/brixd/niceapp/model/AlbumHolderModel;

    .prologue
    .line 508
    iput-object p1, p0, Lcom/brixd/niceapp/community/adapter/PortalAdapter$AlbumOnClickListener;->this$0:Lcom/brixd/niceapp/community/adapter/PortalAdapter;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 509
    iput-object p2, p0, Lcom/brixd/niceapp/community/adapter/PortalAdapter$AlbumOnClickListener;->albumHolderModel:Lcom/brixd/niceapp/model/AlbumHolderModel;

    .line 510
    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .registers 6
    .param p1, "v"    # Landroid/view/View;

    .prologue
    .line 514
    iget-object v1, p0, Lcom/brixd/niceapp/community/adapter/PortalAdapter$AlbumOnClickListener;->this$0:Lcom/brixd/niceapp/community/adapter/PortalAdapter;

    # getter for: Lcom/brixd/niceapp/community/adapter/PortalAdapter;->mActivity:Landroid/app/Activity;
    invoke-static {v1}, Lcom/brixd/niceapp/community/adapter/PortalAdapter;->access$000(Lcom/brixd/niceapp/community/adapter/PortalAdapter;)Landroid/app/Activity;

    move-result-object v1

    const-string v2, "portal_album_click"

    iget-object v3, p0, Lcom/brixd/niceapp/community/adapter/PortalAdapter$AlbumOnClickListener;->albumHolderModel:Lcom/brixd/niceapp/model/AlbumHolderModel;

    iget-object v3, v3, Lcom/brixd/niceapp/model/AlbumHolderModel;->albumTitle:Ljava/lang/String;

    invoke-static {v1, v2, v3}, Lcom/umeng/analytics/MobclickAgent;->onEvent(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    .line 516
    new-instance v0, Landroid/content/Intent;

    iget-object v1, p0, Lcom/brixd/niceapp/community/adapter/PortalAdapter$AlbumOnClickListener;->this$0:Lcom/brixd/niceapp/community/adapter/PortalAdapter;

    # getter for: Lcom/brixd/niceapp/community/adapter/PortalAdapter;->mActivity:Landroid/app/Activity;
    invoke-static {v1}, Lcom/brixd/niceapp/community/adapter/PortalAdapter;->access$000(Lcom/brixd/niceapp/community/adapter/PortalAdapter;)Landroid/app/Activity;

    move-result-object v1

    const-class v2, Lcom/brixd/niceapp/activity/AppAlbumActivity;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 517
    .local v0, "intent":Landroid/content/Intent;
    const-string v1, "album_holder_model"

    iget-object v2, p0, Lcom/brixd/niceapp/community/adapter/PortalAdapter$AlbumOnClickListener;->albumHolderModel:Lcom/brixd/niceapp/model/AlbumHolderModel;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    .line 518
    iget-object v1, p0, Lcom/brixd/niceapp/community/adapter/PortalAdapter$AlbumOnClickListener;->this$0:Lcom/brixd/niceapp/community/adapter/PortalAdapter;

    # getter for: Lcom/brixd/niceapp/community/adapter/PortalAdapter;->mActivity:Landroid/app/Activity;
    invoke-static {v1}, Lcom/brixd/niceapp/community/adapter/PortalAdapter;->access$000(Lcom/brixd/niceapp/community/adapter/PortalAdapter;)Landroid/app/Activity;

    move-result-object v1

    invoke-virtual {v1, v0}, Landroid/app/Activity;->startActivity(Landroid/content/Intent;)V

    .line 519
    return-void
.end method
